home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ MSO2K Options 1.xpl < prev    next >
Text File  |  1999-10-17  |  2KB  |  90 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="4"
  4. "UIPATH"="Program Options\Office 2000"
  5. "NAME"="Advanced"
  6. "VERSION"="1.05"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Use default Windows font instead of "Tahoma""
  9. "TEXT 2"="Track document editing time"
  10. "TEXT 3"="Enable Clipart Gallery Online"
  11. "TEXT 4"="Enable automatic appearance of "Clipboard" toolbar"
  12. "DESCRIPTION 1"="Some options for Microsoft Office 2000"
  13. "AUTHOR"="Xteq Systems"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  16.  
  17.  
  18. sV1="HKCU\Software\Policies\Microsoft\Office\9.0\Common\General\UseOfficeUIFont" 'DW
  19. sV2="HKCU\Software\Policies\Microsoft\Office\9.0\Common\General\NoTrack" 'DW
  20. sV3="HKCU\Software\Policies\Microsoft\Office\9.0\ClipGallery\DisableClipsOnline" 'DW
  21. sV4="HKCU\Software\Microsoft\Office\9.0\Common\General\AcbControl" 'DW 1=off, 0=on
  22.  
  23.  
  24. sPCheck="HKCU\Software\Microsoft\Office\9.0\"
  25. Sub Plugin_Initialize 
  26. if RegPathExists(sPCheck) then
  27.  i=RegReadValue(sV1)
  28.  if i=0 and IsEmpty(i)=false then SetUiElement 1,true
  29.  
  30.  i=RegReadValue(sV2)
  31.  if i<>1 then SetUiElement 2,true
  32.  
  33.  i=RegReadValue(sV3)
  34.  if i<>1 then SetUiElement 3,true
  35.  
  36.  i=RegReadValue(sV4)
  37.  if i<>1 then SetUiElement 4,true
  38.  
  39. else
  40.  disable()
  41. end if
  42. End Sub
  43.  
  44.  
  45. Sub Plugin_CheckData(ElementIndex)
  46. End Sub
  47.  
  48.  
  49.  
  50. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  51.  if GetUIElement(1)=true then
  52.     i=0
  53.  else
  54.     i=1
  55.  end if
  56.  Call RegWriteValue(sV1,i,2)
  57.  
  58.  if GetUIElement(2)=true then
  59.     i=0
  60.  else
  61.     i=1
  62.  end if
  63.  Call RegWriteValue(sV2,i,2)
  64.  
  65.  if GetUIElement(3)=true then
  66.     i=0
  67.  else
  68.     i=1
  69.  end if
  70.  Call RegWriteValue(sV3,i,2)
  71.  
  72.  if GetUIElement(4)=true then
  73.     i=0
  74.  else
  75.     i=1
  76.  end if
  77.  Call RegWriteValue(sV4,i,2)
  78.  
  79.  
  80.  
  81.  Call Logoff()
  82. End Sub
  83.  
  84.  
  85. Sub Plugin_Terminate 
  86. End Sub
  87.  
  88.  
  89.  
  90.